chef service[auditd] is broken for centos-7
NickName:Alex Cohen Ask DateTime:2016-11-23T07:13:54

chef service[auditd] is broken for centos-7

I am attempting to run the service resource on a centos7 ec2 instance (ami-d2c924b2) for auditd:

 service 'auditd' do
   provider Chef::Provider::Service::Init::Redhat
   action :nothing
 end

However it seems that the service resource is broken for centos7 instances:

service[auditd]: unable to locate the init.d script!

I am also getting this error: service[auditd] cannot be found in the resource collection.

Copyright Notice:Content Author:「Alex Cohen」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/40753359/chef-serviceauditd-is-broken-for-centos-7

More about “chef service[auditd] is broken for centos-7” related questions

chef service[auditd] is broken for centos-7

I am attempting to run the service resource on a centos7 ec2 instance (ami-d2c924b2) for auditd: service 'auditd' do provider Chef::Provider::Service::Init::Redhat action :nothing end How...

Show Detail

auditd service in ESXi?

Do we have an audit service like auditd or similar in ESXi? The requirement is to watch the files/folders for changes/modifications being done on them. In Ubuntu we have /etc/auditd/audit.rules,...

Show Detail

Prevent stop auditd service in Redhat 7

Curently, i want auditd service run forever and user can not stop this via any commands. Current my auditd service: ~]# systemctl cat auditd # /usr/lib/systemd/system/auditd.service [Unit] Descr...

Show Detail

Restarting auditd service gives dependency error

I am trying to configure auditing for docker daemon as follows: Add the line below to the /etc/audit/audit.rules file: -w /usr/bin/dockerd -k docker Then, restart the audit daemon using the

Show Detail

ansible: how to restart auditd service on centos 7 get error about dependency

In my playbook, i have a task to update audit.rules and then notify a handler which should restart the auditd service. task: - name: 6.6.7 - audit rules configuration template: src=X/ansible/

Show Detail

running auditd in docker container

I am trying to configure the rsyslog client in centos docker container and i noticed below error. looks like rsyslogd is exiting due to the auditd failure. Any idea how to make rsyslog service to ...

Show Detail

AWS EC2 RHEL 7 auditd service running but can not connect to remote server

I have 3 RHEL-7 EC2 instances. All can connect among themselves using private IP. One client and server are on same subnet and the other client is from different VPC but can connect with other two

Show Detail

Chef template/file updated_by_last_action broken?

I'm using chef's built in template resource and it looks like template's updated_by_last_action? is not implemented. Now this seems pretty impossible, given that template is a fairly basic resource...

Show Detail

How to do process auditing in Ubuntu without using Auditd or with default Ubuntu installation?

In a Linux system whenever an EXECVE syscall is called that time one process is created. In RHEL/CENTOS the auditd service will log the details into the audit.log when you add a rule to log specific

Show Detail

How to log to AUDITD from application?

We are considering moving from rsyslog to auditd, but I have not found how an application should output a log message to auditd. (With rsyslog it is well documented).

Show Detail